The build should no longer fail when linking with --no-add-needed
Previously, configure would clear FONTCONFIG_LIBS and
FONTCONFIG_CFLAGS. This would break the build when compiling with a
linker that defaults to --no-add-needed. For example:
/usr/bin/ld: ftfont.o: undefined reference to symbol 'FcInit'
configure should no longer clear these variables.
Author: Matthias Klose <doko@ubuntu.com>
Date: Mon, 28 Feb 2011 01:02:41 +0100
Added-by: Rob Browning <rlb@defaultvalue.org>
Closes: #554324
## We used to allow building with FreeType and without Xft.
## However, the ftx font backend driver is not in good shape.
if test "${HAVE_XFT}" = "yes"; then
- dnl As we use Xft, we anyway use freetype.
- dnl There's no need for additional CFLAGS and LIBS.
HAVE_FREETYPE=yes
- FONTCONFIG_CFLAGS=
- FONTCONFIG_LIBS=
fi
HAVE_LIBOTF=no